﻿
@{
    ViewBag.Title = "会员管理";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}
@model LY.Entity.U_Member
@section htmlhead{
    <link href="~/assets/css/Layout/css/main.css" rel="stylesheet" />
    <link href="~/assets/css/plugin/validator.css" rel="stylesheet" />
}

<div class="container" style="height: 1000px;">
    <div id="forms" class="mt10">
        <div class="box">
            <div class="box_border">
                <div class="box_top"><b class="pl15">编辑待分配到部门</b></div>
                <div class="box_center">
                    <form method="post" id="frmEdit" action="@Url.Action("MemberSave")" class="jqtransform">
                        <input id="hideId" name="Id" value="@Model.ID" type="hidden" />
                        <table class="form_table pt15 pb15" width="100%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td class="td_right"><span style="color:red;">*</span>  用户名：</td>
                                <td class="">
                                    <input type="text" name="Name" id="Name" value="@Model.Name" class="input-text lh30" size="40">
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right"><span style="color:red;">*</span>  姓名：</td>
                                <td class="">
                                    <input type="text" name="RealName" id="RealName" value="@Model.RealName" class="input-text lh30" size="40">
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right">性别：</td>
                                <td class="">
                                    @Html.ResourceRadioList("Sex", "GENDER", @Model.Sex, null)
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right">地址：</td>
                                <td class="">
                                    <input type="text" name="Address" id="Address" value="@Model.Address" class="input-text lh30" size="40">
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right">固定电话：</td>
                                <td class="">
                                    <input type="text" name="Tel" id="Tel"  value="@Model.Tel" class="input-text lh30" size="40">
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right">电子邮件：</td>
                                <td class="">
                                    <input type="text" name="Email" id="Email" value="@Model.Email" class="input-text lh30" size="40">
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right">户口所在地：</td>
                                <td class="">
                                    <input type="text"  name="AccountLocation" id="AccountLocation" value="@Model.AccountLocation" class="input-text lh30" size="40">
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right">教育程度：</td>
                                <td class="">
                                    @Html.ResourceDropDownList("EDUCATION", "EDUCATION", @Model.Education,new {@class="wh80 select" })
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right">婚姻状况：</td>
                                <td class="">
                                    @Html.ResourceDropDownList("MARITALSTATUS", "MARITALSTATUS", @Model.Maritalstatus, new { @class="wh80 select"})
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right">购车情况：</td>
                                <td class="">
                                   @Html.ResourceDropDownList("CARCASE", "CARCASE", @Model.Carcase, new { @class="wh80 select"})
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right">购房情况：</td>
                                <td class="">
                                     @Html.ResourceDropDownList("PURCHASE", "PURCHASE", Model.Purchaseconditions == null? 0: Model.Purchaseconditions, new { @class="wh80 select"})
                                </td>
                            </tr>
                              <tr>
                                <td class="td_right">IP：</td>
                                <td class="">
                                    <input type="text" name="IP" id="IP" value="@Model.IP" class="input-text lh30" size="40">
                                </td>
                            </tr>
                                                          <tr>
                                <td class="td_right">省份：</td>
                                <td class="">
                                    <input type="text" name="Province" id="Province" value="@Model.Province" class="input-text lh30" size="40">
                                </td>
                            </tr>
                                                          <tr>
                                <td class="td_right">市区：</td>
                                <td class="">
                                    <input type="text" name="City" id="City" value="@Model.City" class="input-text lh30" size="40">
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right"><span style="color:red;">*</span>  手机号码：</td>
                                <td class="">
                                    <input type="text" name="Mobilenumber" id="Mobilenumber" readonly="true" value="@Model.Mobilenumber" class="input-text lh30" size="40">
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right">信用等级：</td>
                                <td class="">
                                    <input type="text" name="Creditrating" id="Creditrating" value="@Model.Creditrating" class="input-text lh30" size="40">
                                </td>
                            </tr>
                            @*<tr>
                                <td class="td_right">客服姓名：</td>
                                <td class="">
                                    <input type="text" name="CustomerService" id="CustomerService" value="@Model.CustomerService" class="input-text lh30" size="40">
                                </td>
                            </tr>*@
                            <tr>
                                <td class="td_right">客服姓名：</td>
                                <td class="">
                                     @Html.ResourceDropDownList("CustomerID", "CustomerService", Model.CustomerID, new { @class="wh80 select"})
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right">&nbsp;</td>
                                <td class="">
                                    <input id="btnSave" type="button" name="button" class="btn btn82 btn_save2" value="保存">
                                    <input id="btnReturn" type="button" name="button" class="btn btn82 btn_res" value="返回">
                                </td>
                            </tr>
                        </table>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
@section jssection{
    <script type="text/javascript">
        var util = {};
        var options = {

        };

    </script>
    <script src="~/assets/plugins/validator/validator.js"></script>
    <script src="~/assets/js/common.js"></script>
    <script src="~/assets/app/member/deptassignedit.js"></script>
}
